import Request from '@/api';
const Config = [
  {
    // 上传正面照
    name: 'frontIdCardUpload',
    method: 'postUpload',
    path: '/resell/idCardAuth/frontIdCardUpload'
  },
  {
    // 上传反面照前置校验 - 用户在网信息是否和boss系统一致校验
    name: 'preReverseCheck',
    method: 'postForm',
    path: '/resell/idCardAuth/preReverseCheck'
  },
  {
    // 上传反面照
    name: 'reverseIdCardUpload',
    method: 'postUpload',
    path: '/resell/idCardAuth/reverseIdCardUpload'
  },
  {
    // 上传免冠照
    name: 'bareheadedPhotoUpload',
    method: 'postUpload',
    path: '/resell/idCardAuth/bareheadedPhotoUpload'
  }
];

const Auth = {
  ...Request(Config)
};

export default Auth;
